package day03;

public class OperDemo2 {
    //逻辑运算符：&& || !
    public static void main(String[] args) {
        int a = 5,b=10, c= 5;
        boolean a1 = a <= b && a>c;
        System.out.println(a1); //false

        //小面试题：
        short s = 5;
        //s = s+10; //编译错误，需强转，s = (short)(s + 10);
        s+=10; // s = (short)(s + 10);

    }
}
